package com.ocom.accesservice.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ocom.common.entity.access.EntityMjTimeInfo;
import com.ocom.common.vo.DelAreaVo;
import com.ocom.common.vo.GroupListVo;
import com.ocom.common.vo.access.TimeInfoVo;

import java.util.List;

public interface TimeInfoService extends IService<EntityMjTimeInfo> {


    /**
     * 移除区域
     * */
    public void RemoveArea(DelAreaVo delAreaVo, Long companyID);

    /**
     * 初始化单位门禁参数
     * */
    public void InitCompanyPara(EntityMjTimeInfo entityMjTimeInfo,Long companyId);

    List<EntityMjTimeInfo> getTimeInfoList(Long companyID, Long areaNo);

    List<EntityMjTimeInfo> getTimeList(Long companyID, TimeInfoVo timeInfoVo);

    void deleAccessTimeSlots(Long companyID, TimeInfoVo timeInfoVo);

    Boolean savesEntityMjTimeInfo(Long companyID, List<EntityMjTimeInfo> timeInfoList);
}
